package gold.digger;

import gold.utils.InputUtil;

/**
 * Created by fanzhenyu02 on 2021/12/10.
 * common problem solver template.
 */
public class LC1332 {
    public long startExecuteTime = System.currentTimeMillis();


    class Solution {
        public int removePalindromeSub(String s) {
            int n = s.length();
            for (int i = 0; i < n / 2; ++i) {
                if (s.charAt(i) != s.charAt(n - 1 - i)) {
                    return 2;
                }
            }
            return 1;
        }
    }


    public void run() {
        Solution solution = new Solution();
        int[] arr = InputUtil.toIntegerArray("[1,2,3]");
        System.out.println(solution.toString());
    }

    public static void main(String[] args) throws Exception {
        LC1332 an = new LC1332();
        an.run();

        System.out.println("\ncurrent solution total execute time: " + (System.currentTimeMillis() - an.startExecuteTime) + " ms.");
    }
}
